<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="chrome://smarttemplate4/skin/default/style.css" type="text/css"?>

<!DOCTYPE prefwindow SYSTEM "chrome://smarttemplate4/locale/smartTemplate-settings.dtd">

<!-- #### Help Content #### -->
<html xmlns="http://www.w3.org/1999/xhtml">


		<head>
			<title>help.xhtml</title>
		</head>
	<body>
		<div class="body" id="helpContents" onclick="containerClick(this, event);">
			<!-- ##### Fix Variables #### -->
			<h1 class="helpchapter">&fix_var.cap;</h1>
			<code>%ownname%</code> = &ownname.label;
			<br />
			<code>%ownmail%</code> = &ownmail.label;
			<br />
			<code class="noNew">%date%</code> = &date.label;
			<br />
			<code class="noNew">%to(mail)%</code> = &tomail.label;
			<br />
			<code class="noNew">%from(mail)%</code> = &frommail.label;
			<br />
			<code class="noNew">%cc(mail)%</code> = &ccmail.label;
			<br />
			<code class="noNew">%sig%</code> = &sig.label;
			<br />
			<code class="noNew">%sig(2)%</code> = &sig2.label;
			<br />
			<br />
			<!-- ##### "To" Variables #### -->
			<h1 class="helpchapter">&to_var.cap;</h1>
			<h2>(&to_note.label;)</h2>
			<code class="noNew">%to%</code> = &to.label;
			<br />
			<code class="noNew">%to(firstname)%</code> = &tofirstname.label;
			<br />
			<code class="noNew">%to(name)%</code> = &toname.label;
			<br />
			<br />
			<!-- ##### "From" Variables #### -->
			<h1 class="helpchapter">&from_var.cap;</h1>
			<h2>(&from_note.label;)</h2>
			<code class="noNew">%from%</code> = &from.label;
			<br />
			<code class="noNew">%from(firstname)%</code> = &fromfirstname.label;
			<br />
			<code class="noNew">%from(name)%</code> = &fromname.label;
			<br />
			<br />
			<!-- ##### "CC" Variables #### -->
			<h1 class="helpchapter">&cc_var.cap;</h1>
			<h2>(&cc_note.label;)</h2>
			<code class="noNew">%cc%</code> = &cc.label;
			<br />
			<code class="noNew">%cc(firstname)%</code> = &ccfirstname.label;
			<br />
			<code class="noNew">%cc(name)%</code> = &ccname.label;
			<br />
			<br />
			<!-- ##### Special Formatting "{Brackets}" #### -->
			<h1 class="helpchapter">&spec_form.cap;</h1>
			&specform_note.label;
			<br />
			<b>&ex_brack.label;</b>
			<br />
			<br />
			<!-- ##### Subject Variables #### -->
			<h1 class="helpchapter">&sub_var.cap;</h1>
			<code class="noNew">%subject%</code> = &sub.label;
			<br />
			<code class="noNew">%subject(2)%</code> = &sub2.label;
			<br />
			<br />
			<!-- ##### Special Variables (Message-Headerkeys) #### -->
			<h1 class="helpchapter">&spec_var.cap;</h1>
			<code class="noNew">%Message-ID%</code> = &messid.label;
			<br />
			<code class="noNew">%Newsgroups%</code> = &newsgr.label;
			<br />
			<code class="noNew">%X-Mailer%</code> = &xmail.label;
			<br />
			<code class="noNew">%...%</code> = &any.label;
			<br />
			<br />
			<!-- ##### Fix Variables for Date/Timezone #### -->
			<h1 class="helpchapter">&fix_vartz.cap;</h1>
			<h2>(&fix_vartz_note.label;)</h2>
			<code>%datelocal%</code> = &datelocal.label;
			<br />
			<code>%dateshort%</code> = &dateshort.label;
			<br />
			<code>%date_tz%</code> = &datetz.label;
			<br />
			<code>%tz_name%</code> = &tzname.label;
			<br />
			<br />
			<!-- ##### Custom Variables #### -->
			<h1 class="helpchapter">&var_custom.cap;</h1>
			<h2>(&customdf_note.label;)</h2>
			<code>%A%</code> = &A.label;
			<br />
			<code>%a%</code> = &a.label;
			<br />
			<code>%B%</code> = &B.label;
			<br />
			<code>%b%</code> = &b.label;
			<br />
			<code>%d%</code> = &d.label;
			<br />
			<code>%e%</code> = &e.label;
			<br />
			<code>%m%</code> = &m.label;
			<br />
			<code>%n%</code> = &n.label;
			<br />
			<code>%Y%</code> = &y.label;
			<br />
			<code>%M%</code> = &m.label;
			<br />
			<code>%S%</code> = &s.label;
			<br />
			<code>%H%</code> = &h.label;
			<br />
			<code>%k%</code> = &k.label;
			<br />
			<code>%I%</code> = &i.label;
			<br />
			<code>%l%</code> = &l.label;
			<br />
			<code class="noNew">%p%</code> = &p.label;
			<br />
			<code class="noNew">%p(1)%</code> = &p1.label;
			<br />
			<code class="noNew">%p(2)%</code> = &p2.label;
			<br />
			<code class="noNew">%p(3)%</code> = &p3.label;
			<br />
			<br />
			<!-- ##### X:=Sent Variable #### -->
			<h1 class="helpchapter">&var_xsent.cap;</h1>
			&xsent_note.label;
			<br />
			<br />
			<!-- ##### Longstring Descritption #### -->
			<h1 class="helpchapter">&xsent_long.cap;</h1>
			&xsent_long.label;
			<br />
			<b>&xsent_long_result.label;</b>
			<br />
			<br />
			<!-- ##### Shortstring Description #### -->
			<h1 class="helpchapter">&xsent_short.cap;</h1>
			&xsent_short.label;
			<br />
			<b>&xsent_short_result.label;</b>
			<br />
			<br />
			<b>&xsent_short_note.label;</b>
			<br />
			<code>%datelocal%</code> = &localedate.label;
			<br />
			<code>%dateshort%</code> = &shortdate.label;
			<br />
			<code>%date_tz%</code> = &datetimezone.label;
			<br />
			<code>%tz_name%</code> = &timezonename.label;
			<br />
			<br />
			<!-- ##### HTML -> UTF-8 Note #### -->
			<h1 class="helpchapter">&html_note.cap;</h1>
			<b>&html_note.label;</b>
			<br />
			<br />
			<!-- ##### Variable Table Note #### -->
			<h1 class="helpchapter">&table.cap;</h1>
			<b>&table_note.label;</b>
			<br />
			<br />
			<!-- ##### Variable Table #### -->
			<table id="keywords">
				<tbody>
					<tr class="tr-keywords">
						<td class="td-keywords"><img class="small_icon" alt="" src="chrome://smarttemplate4/skin/icons/variable-keyword.png" /><b>&table_keyword.label;</b></td>
						<td class="td-keywords"><img class="small_icon" alt="" src="chrome://smarttemplate4/skin/icons/mail-new.png" /><b>&table_new.label;</b></td>
						<td class="td-keywords"><img class="small_icon" alt="" src="chrome://smarttemplate4/skin/icons/mail-reply.png" /><b>&table_reply.label;</b></td>
						<td class="td-keywords"><img class="small_icon" alt="" src="chrome://smarttemplate4/skin/icons/mail-fwd.png" /><b>&table_fwd.label;</b></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code>%A%</code> <code>%a%</code></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code>%B%</code> <code>%b%</code></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code class="noNew">%cc(firstname)%</code></td>
						<td class="td-keywords"><div class="no">&#10007;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code class="noNew">%cc(mail)%</code></td>
						<td class="td-keywords"><div class="no">&#10007;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code class="noNew">%cc(name)%</code></td>
						<td class="td-keywords"><div class="no">&#10007;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code class="noNew">%cc%</code></td>
						<td class="td-keywords"><div class="no">&#10007;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code>%d%</code> <code>%e%</code></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code>%date_tz%</code></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code class="noNew">%date%</code></td>
						<td class="td-keywords"><div class="no">&#10007;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code>%datelocal%</code></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code>%dateshort%</code></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code class="noNew">%from(firstname)%</code></td>
						<td class="td-keywords"><div class="no">&#10007;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code class="noNew">%from(mail)%</code></td>
						<td class="td-keywords"><div class="no">&#10007;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code class="noNew">%from(name)%</code></td>
						<td class="td-keywords"><div class="no">&#10007;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code class="noNew">%from%</code></td>
						<td class="td-keywords"><div class="no">&#10007;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code>%H%</code> <code>%k%</code></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code>%l%</code> <code>%i%</code></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code>%M%</code></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code>%m%</code> <code>%n%</code></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code class="noNew">%Message-ID%</code></td>
						<td class="td-keywords"><div class="no">&#10007;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code class="noNew">%Newsgroups%</code></td>
						<td class="td-keywords"><div class="no">&#10007;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code>%ownmail%</code></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code>%ownname%</code></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code class="noNew">%p(1)%</code></td>
						<td class="td-keywords"><div class="no">&#10007;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code class="noNew">%p(2)%</code></td>
						<td class="td-keywords"><div class="no">&#10007;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code class="noNew">%p(3)%</code></td>
						<td class="td-keywords"><div class="no">&#10007;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code class="noNew">%p%</code></td>
						<td class="td-keywords"><div class="no">&#10007;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code>%S%</code></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code class="noNew">%sig%</code></td>
						<td class="td-keywords"><div class="no">&#10007;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code class="noNew">%sig(2)%</code></td>
						<td class="td-keywords"><div class="no">&#10007;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code class="noNew">%subject%</code></td>
						<td class="td-keywords"><div class="no">&#10007;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code class="noNew">%subject(2)%</code></td>
						<td class="td-keywords"><div class="no">&#10007;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code>%T%</code></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code class="noNew">%to(firstname)%</code></td>
						<td class="td-keywords"><div class="no">&#10007;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code class="noNew">%to(mail)%</code></td>
						<td class="td-keywords"><div class="no">&#10007;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code class="noNew">%to(name)%</code></td>
						<td class="td-keywords"><div class="no">&#10007;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code class="noNew">%to%</code></td>
						<td class="td-keywords"><div class="no">&#10007;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code>%tz_name%</code></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code class="noNew">%X-Mailer%</code></td>
						<td class="td-keywords"><div class="no">&#10007;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code class="noNew">%X:=sent%</code></td>
						<td class="td-keywords"><div class="no">&#10007;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code class="noNew">%X:=today%</code></td>
						<td class="td-keywords"><div class="no">&#10007;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
					<tr class="tr-keywords">
						<td class="td-keywords"><code class="noNew">%Y%</code></td>
						<td class="td-keywords"><div class="no">&#10007;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
						<td class="td-keywords"><div class="yes">&#10003;</div></td>
					</tr>
				</tbody>
			</table>
		</div>
	</body>
	<script type="text/javascript;version = 1.7">

		function containerClick(el, evt) {
			let code = evt.target;
			if (typeof code !='undefined') {
				if (code.tagName == 'code') {
					let exists = true;
					let element = document.getElementById('ST4Dispatcher');
					if (!element) {
						exists = false;
						element = document.createElement("CodeEventDispatcher");
						element.id = 'ST4Dispatcher';
					}

					element.setAttribute("codeWord", code.innerHTML); // now, add the payload
					element.setAttribute("class", code.className);    // class="noNew" => cannot be used in new mail!!

					if (!exists)
						document.documentElement.appendChild(element);

					// make a new custom event
					var customEvent = document.createEvent("Events");
					customEvent.initEvent("SmartTemplate4CodeWord", true, false);
					element.dispatchEvent(customEvent);
				}
			}
		}
	</script>
</html>